From 81804c66e42cc0b5c6a14d0778a7773d7b31e511 Mon Sep 17 00:00:00 2001 From: Prateek Saxena Date: Mon, 1 Jan 2018 11:13:27 +0530 Subject: [PATCH] Special:ProtectedTitles: Use HTMLForm Bug: T117723 Change-Id: I874a8614920166d68671f757497fb27554a397ac --- includes/specials/SpecialProtectedtitles.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/specials/SpecialProtectedtitles.php b/includes/specials/SpecialProtectedtitles.php index fa12f507f9..2770bc5a4b 100644 --- a/includes/specials/SpecialProtectedtitles.php +++ b/includes/specials/SpecialProtectedtitles.php @@ -125,7 +125,7 @@ class SpecialProtectedtitles extends SpecialPage { 'levelmenu' => $this->getLevelMenu( $level ) ]; - $htmlForm = new HTMLForm( $formDescriptor, $this->getContext() ); + $htmlForm = HTMLForm::factory( 'ooui', $formDescriptor, $this->getContext() ); $htmlForm ->setMethod( 'get' ) ->setWrapperLegendMsg( 'protectedtitles' ) -- 2.20.1